Create Saved Password
Saved Passwords
Create Saved Password
POST
Create Saved Password
Saves a password for a specific URL or page. Requires authentication.
Endpoint
Authentication
Bearer token for authentication. User must be logged in.
Request Body
The user ID who is saving the password.
The password to be saved (max 200 characters).
The URL where this password is used (max 200 characters).
A friendly name for the page or service (max 200 characters).
Request Example
Response
Success Response
200 OK
Error Responses
Example Request
Implementation Details
This endpoint is implemented inviews.py:32 using the save_passwords view function. It validates the request data using SavedPasswordsSerializer and saves the password to the database associated with the authenticated user.